package com.example.innovate.service;


import com.example.innovate.domain.CompetitionRefuseDO;

import java.util.List;

public interface CompetitionRefuseService {

    //添加拒绝理由
    void addRefuse(CompetitionRefuseDO competitionRefuseDO);

    //查看拒绝理由
    List<CompetitionRefuseDO> findAllByClass(String className, int pageNumber, int pageSize);

    //根据用户id查看被拒理由
    List<CompetitionRefuseDO> findByUserId(int id);

    //删除
    void deleteRefuse(int id);

    List<CompetitionRefuseDO> findAll(String className);
}
